package com.aitoedu.server.service;

import cn.dev33.satoken.util.SaResult;
import com.aitoedu.server.dto.AIReceiveDTO;
import com.aitoedu.server.entity.Conversation;
import com.aitoedu.server.vo.AIStatisticsVO;
import com.aitoedu.server.vo.OnlyTitleVO;
import com.aitoedu.server.vo.TitleVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 曹正豪
* @description 针对表【conversation(对话信息)】的数据库操作Service
* @createDate 2024-08-28 19:43:11
*/
public interface ConversationService extends IService<Conversation> {

    List<TitleVO> allConversation();

    SaResult save(Long titleId);

    OnlyTitleVO onlyConversation(Long titleId);

    String receive(AIReceiveDTO aiReceiveDTO);

    AIStatisticsVO statistics();

    String send(AIReceiveDTO aiReceiveDTO);
}
